package com.suixun.service.count;

import java.util.List;
import java.util.Map;

import com.suixun.entity.StdCountBasic;

public interface StdCountBasicService {

    
    StdCountBasic getByName(String name);
    
    /**
     * 当前节点统计数据
     * @param orgId
     * @param countBasic
     * @param appForm
     * @param beginTime
     * @param endTime
     * @return
     */
    String installSqlSelf(String orgId, String orgType,StdCountBasic countBasic, Integer appForm, String beginTime, String endTime);
    
    String installSqlByTeacherAndGuardian(String orgId, String orgType, StdCountBasic countBasic, String beginTime, String endTime);
    
    /**
     * 返回基础业务统计结果集
     * @param sql
     * @return
     */
    List<Map<String, Object>> listResult(String sql);
    
    List<StdCountBasic> list();
}
